import base from '@/config/baseUrl';
// import store from '@/store';
import $http from '@/config/requestConfig'



/**
 *  获取短信验证码
 */
export function getSmsCode(params={}) {
	return $http['get'](`/wx/notify/smsCode`, params)
}

export function getDict(code) {
	return $http['get'](`/wx/pub/common/dict/` + code)
}

/**
 * @param {Object} code获取解密
 */
export function aesDecrypt(params={}) {
	return $http['post'](`/wx/pub/common/aesDecrypt`, params)
}
/**
 * 获取系统配置
 */
export function getSysConfig(code='') {
	return $http['get'](`/wx/pub/common/configKey/` +  code)
}